const App = () => {
  let content;
  let count = 0;
  if (count > 1) {
    content = <div>hello react</div>;
  } else {
    content = <p>hi JavaScript</p>;
  }
  return (
    <>
      <div>{content}</div>
      <div>{count ? <span>hello react</span> : <span>hi JavaScript</span>}</div>
      <div>{count && <span>hi JavaScript</span>}</div>
    </>
  );
};
export default App;
